package org.dromara.system.domain.bo;

import org.dromara.system.domain.SysCombobox;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 下拉框键值业务对象 sys_combobox
 *
 * @author Lion Li
 * @date 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysCombobox.class, reverseConvertGenerate = false)
public class SysComboboxBo extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 缓存名
     */
    private String cacheKey;

    /**
     * 下拉框value字段名
     */
    private String keyField;

    /**
     * 下拉框Label字段名
     */
    private String valueField;

    /**
     * 下拉框value
     */
    private String comboboxValue;

    /**
     * 下拉框label
     */
    private String comboboxLabel;


}
